<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
</head>
<body>

    <div id="root">
        <h2>学校名称:{{name}}</h2>
        <h2>你的名字:{{studName}}</h2>
    </div>

    <script>

        const vm = new Vue({
            el:'#root',
            data() {
                return {
                    name:'江西理工大学',
                    studName:'任文涛'
                }
            },
        })
    </script>
    
</body>
</html>